import baseUrl from './base-url-config'

export default {
  // 获取活动列表
  queryActivityList: {
    url: `${baseUrl}/fin-scrm-mgm/activities/activityList4App`,
    method: 'post',
    hasLoading: false
  },

  // 活动详情--客户数据--数据统计
  queryCustomerDataStatistics: {
    url: `${baseUrl}/fin-scrm-mgm/activityDetail/getDataViewByActivityId/:activityId`,
    method: 'get',
    hasLoading: false
  },

  //  活动详情--客户数据--客户列表
  queryCustomerList: {
    url: `${baseUrl}/fin-scrm-mgm/activityDetail/customerDataViewList`,
    method: 'post',
    hasLoading: false
  },

  //  活动详情--客户数据--客户列表
  qryCustomerHelpDetailsList: {
    url: `${baseUrl}/fin-scrm-mgm/activityDetail/boosterDetailList/:seedCustId`,
    method: 'get',
    hasLoading: true
  },

  //  活动详情--活动信息
  qryActivityInfo: {
    url: `${baseUrl}/fin-scrm-mgm/activity/mobile/:activityId`,
    method: 'get',
    hasLoading: true
  },

  // H5--助力详情
  qryHelpDetailsInfo: {
    url: `${baseUrl}/fin-scrm-mgm/activity/mobile/getAssistedDetails`,
    method: 'get',
    hasLoading: true
  },

  // H5--查询活动海报信息
  qryActivityPosterInfo: {
    url: `${baseUrl}/fin-scrm-mgm/activity/mobile/getPosterInfo`,
    method: 'get',
    hasLoading: true
  },

  // 查询城市列表
  qryCityList: {
    url: `${baseUrl}/fin-scrm-mgm/activity/mobile/city`,
    method: 'get',
    hasLoading: false
  },

  // 收集客户资料
  collectCustomerInfo: {
    url: `${baseUrl}/fin-scrm-mgm/activity/mobile/infoGathering/add`,
    method: 'post',
    hasLoading: false
  },

  // 发送短信验证码
  triggerSendIphoneMessage: {
    url: `${baseUrl}/fin-scrm-adapt/cebCall/sms/code`,
    method: 'post',
    hasLoading: false
  },

  // 获取微信用户信息
  fetchWxUserInfo: {
    method: 'get',
    url: `${baseUrl}/fin-scrm-adapt/wechat/getInfoByCode`
  },

  // 裂变达标详情--客户列表
  qryFissionCustomerList: {
    method: 'post',
    url: `${baseUrl}/fin-scrm-mgm/activity/mobile/cust/list`
  },

  // 去领奖
  acceptThePrize: {
    url: `${baseUrl}/fin-scrm-mgm/activity/mobile/receiveRight`,
    method: 'post',
    hasLoading: false
  },

  // 查询页面权限  校验是否是种子客户
  qryPagePermission: {
    method: 'get',
    url: `${baseUrl}/fin-scrm-mgm/activity/mobile/hasPagePermission`
  },

  // 获取微信AppID
  fetchAppId: {
    method: 'get',
    url: `${baseUrl}/fin-scrm-adapt/wechat/getAppId`,
  },

  // 微信验证签名
  verifySignature: {
    method: 'get',
    url: `${baseUrl}/fin-scrm-corp-manage/wechat/signature`,
  },

  // 通用文件上传接口
  uploadOcrData: {
    url: `${baseUrl}/v2/system/qw/ocr-upload`,
    method: 'post',
    hasLoading: false,
    contentType: 'multipart/form-data',
    responseType: 'blob'
  },

  qryileListByUser: {
    url: `${baseUrl}/v2/system/qw/ocr-list`,
    method: 'post',
    hasLoading: false,
  },
}
